<script>
    $(function(){
        $("#addServer_cancel").on("click", function(){
            $("#parent_win").window("close");
        });
    })
</script>

<!-- 内容 -->
<div class="content">
    <form id="form">
    <table width="100%" border="0" align="center" cellpadding="3">
        <tr>
            <td width="20%" align="center">
                <label for="serverCode"><span class="x">*</span>机器序列号：</label>
            </td>
            <td width="30%">
                <input type="text" name="serverCode" id="serverCode" />
            </td>

            <td width="20%" align="center">
                <label for="status"><span class="x">*</span>状态：</label>
            </td>
            <td width="30%">
                <input type="text" name="status" id="status" />
            </td>
        </tr>
        <tr>
            <td width="20%" align="center">
                <label for="tagIdc"><span class="x">*</span>IDC标签：</label>
            </td>
            <td width="30%">
                <input type="text" name="tagIdc" id="tagIdc" />
            </td>

            <td width="20%" align="center">
                <label for="tagKingdee"><span class="x">*</span>金蝶标签：</label>
            </td>
            <td width="30%">
                <input type="text" name="tagKingdee" id="tagKingdee" />
            </td>
        </tr>
        <tr>
            <td width="20%" align="center">
                <label for="ipInner"><span class="x">*</span>内网IP：</label>
            </td>
            <td width="30%">
                <input type="text" name="ipInner" id="ipInner" />
            </td>

            <td width="20%" align="center">
                <label for="ipOutter"><span class="x">*</span>外网IP：</label>
            </td>
            <td width="30%">
                <input type="text" name="ipOutter" id="ipOutter" />
            </td>
        </tr>
        <tr>
            <td width="20%" align="center">
                <label for="department"><span class="x">*</span>所属部门：</label>
            </td>
            <td width="30%">
                <input type="text" name="department" id="department" />
            </td>
            <td width="20%" align="center">
                <label for="site"><span class="x">*</span>所在机房：</label>
            </td>
            <td width="30%">
                <input type="text" name="site" id="site" />
            </td>
        </tr>
        <tr>
            <td width="20%" align="center">
                <label for="cabinetsCode"><span class="x">*</span>机柜编码：</label>
            </td>
            <td width="30%">
                <input type="text" name="cabinetsCode" id="cabinetsCode" />
            </td>
            <td width="20%" align="center">
                <label for="cabinetsPos"><span class="x">*</span>机柜位置：</label>
            </td>
            <td width="30%">
                <input type="text" name="cabinetsPos" id="cabinetsPos" />
            </td>
        </tr>
        <tr>
            <td width="20%" align="center">
                <label for="timeStore"><span class="x">*</span>入库时间：</label>
            </td>
            <td width="30%">
                <input type="text" name="timeStore" id="timeStore" />
            </td>
            <td width="20%" align="center">
                <label for="warranty"><span class="x">*</span>保修期：</label>
            </td>
            <td width="30%">
                <input type="text" name="warranty" id="warranty" />
            </td>
        </tr>
        <tr>
            <td width="20%" align="center">
                <label for="operator"><span class="x">*</span>维护人员：</label>
            </td>
            <td width="30%">
                <input type="text" name="operator" id="operator" />
            </td>
            <td width="20%" align="center">
                <label for="backupOperator"><span class="x">*</span>备份人员：</label>
            </td>
            <td width="30%">
                <input type="text" name="backupOperator" id="backupOperator" />
            </td>
        </tr>
        <tr>
            <td width="20%" align="center">
                <label for="virtual"><span class="x">*</span>是否虚拟机：</label>
            </td>
            <td width="30%">
                <input type="text" name="virtual" id="virtual" />
            </td>
            <td width="20%" align="center">
                <label for="virtualHostId"><span class="x">*</span>虚拟主机：</label>
            </td>
            <td width="30%">
                <input type="text" name="virtualHostId" id="virtualHostId" />
            </td>
        </tr>
        <tr>
            <td width="20%" align="center">
                <label for="hardwareType"><span class="x">*</span>硬件类型：</label>
            </td>
            <td width="30%">
                <input type="text" name="hardwareType" id="hardwareType" />
            </td>
            <td width="20%" align="center">
                <label for="hardwareManual"><span class="x">*</span>硬件说明：</label>
            </td>
            <td width="30%">
                <input type="text" name="hardwareManual" id="hardwareManual" />
            </td>
        </tr>
        <tr>
            <td width="20%" align="center">
                <label for="osVersion"><span class="x">*</span>OS说明：</label>
            </td>
            <td width="30%">
                <input type="text" name="osVersion" id="osVersion" />
            </td>
            <td width="20%" align="center">
                <label for="level"><span class="x">*</span>服务级别：</label>
            </td>
            <td width="30%">
                <input type="text" name="level" id="level" />
            </td>
        </tr>
        <tr>
            <td width="20%" align="center">
                <label for="remark">备注：</label>
            </td>
            <td width="80%" colspan="3">
                <input type="text" name="remark" id="remark" />
            </td>
        </tr>
    </table>
    </form>
</div>

<!-- 弹出框按钮 -->
<div class="windowButton">
    <a id="addServer_save" class="easyui-linkbutton my-dialog-button" plain="true" icon="icon-save" href="javascript:add_server()" > 保存</a>
    <a id="addServer_cancel" class="easyui-linkbutton my-dialog-button" plain="true" icon="icon-cancel" href="javascript:void(0)" >取消</a>
</div>

<script type="text/javascript" src="../js//admin/admin.js"></script>